cmake_minimum_required (VERSION 2.8)

project (demo)

#头文件
include_directories (./ include lib include/aircrack-ng include/aircrack-ng/ce-wep include/aircrack-ng/osdep include/aircrack-ng/adt include/aircrack-ng/support include/aircrack-ng/tui include/aircrack-ng/crypto include/aircrack-ng/ce-wpa include/aircrack-ng/cowpatty include/aircrack-ng/utf8 include/aircrack-ng/ptw include/aircrack-ng/cpu include/aircrack-ng/third-party lib/radiotap lib/osdep /usr/include/boost/predef/os  )


#非主目录下的c文件
#aux_source_directory (lib/ce-wep SRC_LIST1 )
#aux_source_directory (lib/osdep SRC_LIST2)
#aux_source_directory (lib/libac/adt SRC_LIST3)
#aux_source_directory (lib/libac/support SRC_LIST4)
#aux_source_directory (lib/libac/tui SRC_LIST5)
#aux_source_directory (lib/libac/utf8 SRC_LIST6)
#aux_source_directory (lib/libac/cpu SRC_LIST7)
#aux_source_directory (lib/crypto SRC_LIST8)
#aux_source_directory (lib/ce-wpa SRC_LIST9)
#aux_source_directory (lib/cowpatty SRC_LIST10)
#aux_source_directory (lib/ptw SRC_LIST11)
#aux_source_directory (lib/radiotap SRC_LIST12)
#aux_source_directory (src/airbase-ng SRC_LIST13)
aux_source_directory (bin SRC_LIST13)

add_executable (lll lhf.c ${SRC_LIST1} ${SRC_LIST2} ${SRC_LIST3} ${SRC_LIST4} ${SRC_LIST5} ${SRC_LIST6} ${SRC_LIST7} ${SRC_LIST8} ${SRC_LIST9} ${SRC_LIST10} ${SRC_LIST11} ${SRC_LIST12} ${SRC_LIST13})

